put editString("MID", field A,cd fld start,cd fld num) into field B
end mouseUp
-- part 2 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=266 top=214 right=231 bottom=297
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 97
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: start
-- part 3 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=410 top=214 right=231 bottom=441
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 97
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: num
-- part contents for background part 1
----- text -----
MID
-- part contents for background part 2
----- text -----
MID will return a substring portion of an input string. The function acts just like the BASIC language MID$ function. This function is limited to strings only and will ignore any characters past position 255.
-- part contents for background part 3
----- text -----
editString("MID", source, startPos, numChars)
• source is the intput variable or field containing the text
• startPos number is the begining character position of the desired substring
• numChars is the length of the desired substring
put editString("MID", field A, 2, 3) into field B If field A is "abcdefg" the function will return "bcd"
-- part contents for card part 2
----- text -----
9
-- part contents for card part 3
----- text -----
25
-- part contents for background part 4
----- text -----
abcdefgvThis is the MID function.#lkjd;flkja;lkaj;